﻿<?xml version="1.0" encoding="utf-8"?>
<EmailBotConfig>
  <AppGeneralConfig>
    <kickoffInterval> 12    </kickoffInterval>
    <debugPort>       40000 </debugPort>
    <FetcherBinay type="RedfinFetcher" DLL="C:\Experiments\iCode\Products\FetchAndProcess\CrawlPro\DeployReady\Debug\RedfinCrawlPro.DLL"> </FetcherBinay>
    <FetcherBinay type="GmailFetcher" DLL="C:\Experiments\iCode\Products\FetchAndProcess\CrawlPro\DeployReady\Debug\GmailFetcher.DLL"> </FetcherBinay>

    <ProcessorBinay type="RedfinProcessor" DLL="C:\Experiments\iCode\Products\FetchAndProcess\CrawlPro\DeployReady\Debug\RedfinCrawlPro.DLL"> </ProcessorBinay>
    <ProcessorBinay type="GmailCouponProcessor" DLL="C:\Experiments\iCode\Products\FetchAndProcess\CrawlPro\DeployReady\Debug\GmailFetcher.DLL"> </ProcessorBinay>
    
  </AppGeneralConfig>

  <Fetchers>

    <FetcherRecord name="Redmond"  type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <CityName> Redmond,WA </CityName>      
    </FetcherRecord>
    

    <FetcherRecord name="Sammamish_safeway" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">      
      <GeoPointAndRadius lat="47.61119740632608" long="-122.03690528869629" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="Bellevue_i90" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.57698892610686" long="-122.1463394165039" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="Bellevue_520_405" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.63254466092829" long="-122.18856811523437" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="Montlake" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.63925365016243" long="-122.30598449707031" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="UDst" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.66769944380821" long="-122.31559753417969" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="North_QAnne" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.646424375755174" long="-122.36434936523437" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="WallingFord" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.65451917328043" long="-122.332763671875" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="CAPHILL" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.62305806837993" long="-122.3159408569336" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="IssaqushHighlands" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.54403272736696" long="-122.01862335205078" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="MercerIsland" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.575136052077276" long="-122.22702026367187" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>

    <FetcherRecord name="NewportHills" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="true">
      <GeoPointAndRadius lat="47.54455416428095" long="-122.18290328979492" radius="1.0">  </GeoPointAndRadius>
    </FetcherRecord>
    

    <FetcherRecord name="Bellevue" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <CityName> "Bellevue,WA" </CityName>
    </FetcherRecord>

    <FetcherRecord name="Seattle" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <CityName> "Seattle,WA" </CityName>
    </FetcherRecord>


    <FetcherRecord name="Issauqah" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <CityName> "Issaquah,WA" </CityName>
    </FetcherRecord>
    
    
    
    
    <FetcherRecord name="SamplePoly" type="RedfinFetcher" walkScore="true" crimeScore="true" zillowQuery="true" active="false">
      <GeoPolygon>
        <geoPoint lat="47.53656" long="-122.02001"> </geoPoint>
        <geoPoint lat="47.53656" long="-122.00298"> </geoPoint>
        <geoPoint lat="47.54822" long="-122.00298"> </geoPoint>
        <geoPoint lat="47.54822" long="-122.02001"> </geoPoint>
        <geoPoint lat="47.53656" long="-122.02001"> </geoPoint>
      </GeoPolygon>
      
    </FetcherRecord>


    <FetcherRecord  name="GmailCouponCrawl" type="GmailFetcher" host="imap.gmail.com" user="receipts.green@gmail.com"  Folder="INBOX" emailType="IMAP" active="false" passwd="JamesBond" >  
      
    </FetcherRecord>
    
    
  </Fetchers>

  <Processors>
    
    <processor name="RentalPropertyProcessor" active="true"  type ="RedfinProcessor"  >
      <processorConfigurationFile> cfgFileName </processorConfigurationFile>
      <FetcherAssociation>  Redmond,Sammamish_safeway,Bellevue_i90,Bellevue_520_405,Montlake,UDst,North_QAnne,WallingFord,CAPHILL,MercerIsland,NewportHills,IssaqushHighlands </FetcherAssociation>
    </processor>


    <processor name="CouponProcessor" active="true" type="GmailCouponProcessor"  >
      <processorConfigurationFile> cfgFileName </processorConfigurationFile>
      <FetcherAssociation>  GmailCouponCrawl </FetcherAssociation>
    </processor>
    
    
    
  </Processors>


</EmailBotConfig>